package com.amado.springboot.springbootcms.entity;

import io.swagger.annotations.ApiModelProperty;
import java.util.Date;

/**
 * @author wangyulong-910
 * @date 2019年7月28日下午11:39:31
 */
public class CmsUser {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")//不能为空
    private Integer id;

    @ApiModelProperty(value = "manage")//可以为空
    private String manage;

    @ApiModelProperty(value = "部门编码")//可以为空
    private String deptNum;

    @ApiModelProperty(value = "用户编码")//可以为空
    private String userNum;

    @ApiModelProperty(value = "用户名")//可以为空
    private String userName;

    @ApiModelProperty(value = "密码")//可以为空
    private String userPassword;

    @ApiModelProperty(value = "创建时间")//可以为空
    private Date createTime;

    @ApiModelProperty(value = "修改时间")//可以为空
    private Date updateTime;

    @ApiModelProperty(value = "创建人")//可以为空
    private String createName;

    @ApiModelProperty(value = "修改人")//可以为空
    private String updateName;

    @ApiModelProperty(value = "删除标识，Y已删除，N未删除")//可以为空
    private String deleteFlag;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getManage() {
        return manage;
    }

    public void setManage(String manage) {
        this.manage = manage;
    }

    public String getDeptNum() {
        return deptNum;
    }

    public void setDeptNum(String deptNum) {
        this.deptNum = deptNum;
    }

    public String getUserNum() {
        return userNum;
    }

    public void setUserNum(String userNum) {
        this.userNum = userNum;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPassword() {
        return userPassword;
    }

    public void setUserPassword(String userPassword) {
        this.userPassword = userPassword;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getCreateName() {
        return createName;
    }

    public void setCreateName(String createName) {
        this.createName = createName;
    }

    public String getUpdateName() {
        return updateName;
    }

    public void setUpdateName(String updateName) {
        this.updateName = updateName;
    }

    public String getDeleteFlag() {
        return deleteFlag;
    }

    public void setDeleteFlag(String deleteFlag) {
        this.deleteFlag = deleteFlag;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append(", id=").append(id);
        sb.append(", manage=").append(manage);
        sb.append(", deptNum=").append(deptNum);
        sb.append(", userNum=").append(userNum);
        sb.append(", userName=").append(userName);
        sb.append(", userPassword=").append(userPassword);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", createName=").append(createName);
        sb.append(", updateName=").append(updateName);
        sb.append(", deleteFlag=").append(deleteFlag);
        sb.append("]");
        return sb.toString();
    }
}